.. _ocafilterclassical: 1.1.1.9 OcaFilterClassical =========================== Class Hierarchy: :ref:`OcaRoot ` : :ref:`OcaWorker ` : :ref:`OcaActuator ` : :ref:`OcaFilterClassical ` .. cpp:class:: OcaFilterClassical: OcaActuator Classical analog-style filter - highpass, lowpass, bandpass, etc., with shape characteristics such as Butterworth, Chebyshev, Bessel, and Linkwitz-Riley. **Properties**: .. _ocafilterclassical_classid: .. cpp:member:: static const OcaClassID ClassID = "1.1.1.9" Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the **OcaRoot** property. This property has id ``1.1``. .. _ocafilterclassical_classversion: .. cpp:member:: static const OcaClassVersionNumber ClassVersion = 3 Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the **OcaRoot** property. This property has id ``1.2``. .. _ocafilterclassical_frequency: .. cpp:member:: OcaFrequency Frequency The frequency of the filter. This property has id ``4.1``. .. _ocafilterclassical_order: .. cpp:member:: OcaUint16 Order Filter order This property has id ``4.4``. .. _ocafilterclassical_parameter: .. cpp:member:: OcaFloat32 Parameter Ripple or other filter parameter, depending on shape. Not used by some shapes. This property has id ``4.5``. .. _ocafilterclassical_passband: .. cpp:member:: OcaFilterPassband Passband Lowpass, highpass, bandpass, bandreject This property has id ``4.2``. .. _ocafilterclassical_shape: .. cpp:member:: OcaClassicalFilterShape Shape Shape family - Butterworth, Bessell, etc. This property has id ``4.3``. Properties inherited from :ref:`ocaactuator`: - :cpp:texpr:`OcaClassID` :ref:`OcaRoot::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaRoot::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaLockState` :ref:`OcaRoot::LockState ` - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` - :cpp:texpr:`OcaClassID` :ref:`OcaWorker::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaWorker::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaWorker::Enabled ` - :cpp:texpr:`OcaString` :ref:`OcaWorker::Label ` - :cpp:texpr:`OcaTimeInterval` :ref:`OcaWorker::Latency ` - :cpp:texpr:`OcaONo` :ref:`OcaWorker::Owner ` - :cpp:texpr:`OcaMap` :ref:`OcaWorker::PortClockMap ` - :cpp:texpr:`OcaList` :ref:`OcaWorker::Ports ` - :cpp:texpr:`OcaClassID` :ref:`OcaActuator::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaActuator::ClassVersion ` **Methods**: .. _ocafilterclassical_getfrequency: .. cpp:function:: OcaStatus GetFrequency(OcaFrequency &Frequency, OcaFrequency &minFrequency, OcaFrequency &maxFrequency) Gets the value and limits of the **Frequency** property. This method has id ``4.1``. - :cpp:expr:`Frequency`: Output parameter. - :cpp:expr:`minFrequency`: Output parameter. - :cpp:expr:`maxFrequency`: Output parameter. .. _ocafilterclassical_setfrequency: .. cpp:function:: OcaStatus SetFrequency(OcaFrequency frequency) Sets the value of the **Frequency** property. This method has id ``4.2``. - :cpp:expr:`frequency`: Input parameter. .. _ocafilterclassical_getpassband: .. cpp:function:: OcaStatus GetPassband(OcaFilterPassband &Passband) Gets the value of the **Passband** property. This method has id ``4.3``. - :cpp:expr:`Passband`: Output parameter. .. _ocafilterclassical_setpassband: .. cpp:function:: OcaStatus SetPassband(OcaFilterPassband Passband) Sets the value of the **Passband** property. This method has id ``4.4``. - :cpp:expr:`Passband`: Input parameter. .. _ocafilterclassical_getshape: .. cpp:function:: OcaStatus GetShape(OcaClassicalFilterShape &Shape) Gets the value of the **Shape** property. This method has id ``4.5``. - :cpp:expr:`Shape`: Output parameter. .. _ocafilterclassical_setshape: .. cpp:function:: OcaStatus SetShape(OcaClassicalFilterShape Shape) Sets the value of the **Shape** property. This method has id ``4.6``. - :cpp:expr:`Shape`: Input parameter. .. _ocafilterclassical_getorder: .. cpp:function:: OcaStatus GetOrder(OcaUint16 &Order, OcaUint16 &minOrder, OcaUint16 &maxOrder) Gets the value and limits of the **Order** property. This method has id ``4.7``. - :cpp:expr:`Order`: Output parameter. - :cpp:expr:`minOrder`: Output parameter. - :cpp:expr:`maxOrder`: Output parameter. .. _ocafilterclassical_setorder: .. cpp:function:: OcaStatus SetOrder(OcaUint16 Order) Sets the value of the **Order** property. This method has id ``4.8``. - :cpp:expr:`Order`: Input parameter. .. _ocafilterclassical_getparameter: .. cpp:function:: OcaStatus GetParameter(OcaFloat32 &Parameter, OcaFloat32 &minParameter, OcaFloat32 &maxParameter) Gets the value and limits of the **Parameter** property. This method has id ``4.9``. - :cpp:expr:`Parameter`: Output parameter. - :cpp:expr:`minParameter`: Output parameter. - :cpp:expr:`maxParameter`: Output parameter. .. _ocafilterclassical_setparameter: .. cpp:function:: OcaStatus SetParameter(OcaFloat32 Parameter) Sets the value of the **Parameter** property. This method has id ``4.10``. - :cpp:expr:`Parameter`: Input parameter. .. _ocafilterclassical_setmultiple: .. cpp:function:: OcaStatus SetMultiple(OcaParameterMask Mask, OcaFrequency Frequency, OcaFilterPassband Passband, OcaClassicalFilterShape Shape, OcaUint16 Order, OcaFloat32 Parameter) Sets some or all filter parameters. The action of this method shall be atomic - if any of the changes fails, **none** of the changes shall be made. This method has id ``4.11``. - :cpp:expr:`Mask`: Input parameter. - :cpp:expr:`Frequency`: Input parameter. - :cpp:expr:`Passband`: Input parameter. - :cpp:expr:`Shape`: Input parameter. - :cpp:expr:`Order`: Input parameter. - :cpp:expr:`Parameter`: Input parameter. Methods inherited from :ref:`ocaactuator`: - :ref:`OcaActuator::GetClassIdentification ` - :ref:`OcaActuator::GetLockable ` - :ref:`OcaActuator::GetLockState ` - :ref:`OcaActuator::GetRole ` - :ref:`OcaActuator::SetLockNoWrite ` - :ref:`OcaActuator::SetLockNoReadWrite ` - :ref:`OcaActuator::Unlock ` - :ref:`OcaActuator::AddPort ` - :ref:`OcaActuator::DeletePort ` - :ref:`OcaActuator::DeletePortClockMapEntry ` - :ref:`OcaActuator::GetEnabled ` - :ref:`OcaActuator::GetLabel ` - :ref:`OcaActuator::GetLatency ` - :ref:`OcaActuator::GetOwner ` - :ref:`OcaActuator::GetPath ` - :ref:`OcaActuator::GetPortClockMap ` - :ref:`OcaActuator::GetPortClockMapEntry ` - :ref:`OcaActuator::GetPortName ` - :ref:`OcaActuator::GetPorts ` - :ref:`OcaActuator::SetEnabled ` - :ref:`OcaActuator::SetLabel ` - :ref:`OcaActuator::SetLatency ` - :ref:`OcaActuator::SetPortClockMap ` - :ref:`OcaActuator::SetPortClockMapEntry ` - :ref:`OcaActuator::SetPortName `